package com.baizhi.shane.shane.service;

import com.baizhi.shane.shane.entity.ShaneCollectQuestion;
import com.baizhi.shane.shane.vo.QuestionUserRelVO;
import com.baizhi.shane.sys.vo.IdVO;
import com.baizhi.shane.sys.vo.SuccessedOutVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wbz12
* @description 针对表【shane_collect_question(啥呢问题收藏表)】的数据库操作Service
* @createDate 2023-07-25 22:33:37
*/
public interface ShaneCollectQuestionService extends IService<ShaneCollectQuestion> {

    /**
     * 用户收藏问题，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 19:01 2023/10/4
     * @Param questionUserRelVO
     * @return java.lang.String
     **/
    String insertOneQuestionCollect(QuestionUserRelVO questionUserRelVO);

    /**
     * 用户取消收藏问题，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 19:15 2023/10/4
     * @Param questionUserRelVO
     * @return java.lang.String
     **/
    String deleteOneQuestionCollect(QuestionUserRelVO questionUserRelVO);

}
